package com.person.mengshuai.mytestdemo.annotation;

import com.person.mengshuai.mytestdemo.enums.BusinessType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 操作日志记录注解类
 *
 * @author 孟帅
 * @since 2024/8/7
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface DataLog {
    String desc() default "暂无描述";

    BusinessType type() default BusinessType.OTHER;
}
